home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(enterFrame){
- if(_root.pts < 0)
- {
- _root.pts = 0;
- }
- if(ol == 1)
- {
- _root.dsp.nextFrame();
- _root.pts = _root.ptse;
- if(_root.dsp._currentframe > 6)
- {
- _root.lvl.removeMovieClip();
- _root.nextFrame();
- }
- }
- if(nl == 1 or ol == 1)
- {
- if(ol == 0)
- {
- e += 1;
- if(e > 27)
- {
- _root.lvl.removeMovieClip();
- _root.gd = 1;
- _root.nextFrame();
- }
- }
- nl = 0;
- ol = 0;
- _root.pts += 100 * e;
- _root.attachMovie("lvl" + e,"lvl",1);
- _root.lvl.ld.lnr = "level " + e;
- }
- if(_root.el == 1)
- {
- _root.dsp.gotoAndStop(1);
- _root.pts = 0;
- }
- }
-